import { createApp } from "vue";
import { createPinia } from "pinia";
import Antd from "ant-design-vue";
import App from "./App.vue";
import router from "./router";
import "ant-design-vue/dist/reset.css";
import request from "./utils/request"; // 引入axios实例
import "./style.css";

const app = createApp(App);

// 将 axios 挂载到全局属性
window.$http = request;
const pinia = createPinia();
app.use(pinia);
app.use(Antd);
app.use(router);
app.mount("#app");
